package opn.srn.command.load.parser;

import java.util.HashMap;
import java.util.Map;

public class FieldMetaData {
	int id;
	String name;
	boolean mandatory;
	Map<String, String> additionalInfo = new HashMap<String, String>();

	public FieldMetaData(String name) {
		this.name = name;
	}

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public boolean isMandatory() {
		return mandatory;
	}

	public void setMandatory(boolean mandatory) {
		this.mandatory = mandatory;
	}

	public Map<String, String> getAdditionalInfo() {
		return additionalInfo;
	}

	public void setAdditionalInfo(Map<String, String> additionalInfo) {
		this.additionalInfo = additionalInfo;
	}

}
